package org.jsoncrypto;

import javax.crypto.SecretKey;

public abstract class JcLibJwe_SK extends JcLibJwe {

	public JcLibJwe_SK(JcLibEnc enc, String algStr) throws JcBaseException {
		super(enc, algStr);
	}

	public JcLibJwe_SK(String encrypted) throws JcBaseException {
		super(encrypted);
	}

	abstract String encrypt(byte[] contentBytes, SecretKey aKey)
			throws JcBaseException;

	abstract byte[] decrypt(SecretKey key)
			throws JcBaseException;

}
